var express = require('express');
var companyController = require('../controllers/companyController');
var router = express.Router();

router.post('/adminapi/companies', companyController.addList);

router.get('/adminapi/companies', companyController.getList);

router.put('/adminapi/companies/:id', companyController.update);

router.delete('/adminapi/companies', companyController.delete);

module.exports = router;